# $Id: PKGBUILD 66030 2012-02-22 14:48:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-djabberd-rosterstorage-sqlite
pkgver=1.00
pkgrel=3
pkgdesc="DJabberd sqlite roster storage module"
arch=("any")
url="http://search.cpan.org/~bradfitz/DJabberd-RosterStorage-SQLite/"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/DJabberd-RosterStorage-SQLite-$pkgver.tar.gz")
depends=("perl-djabberd" "perl-dbd-sqlite")
md5sums=('6b8e666ab55e1e2bc455bdce5e6f4e42')

build() {
  cd $srcdir/DJabberd-RosterStorage-SQLite-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
